package com.example.firstboot.service.impl;

import com.example.firstboot.mapper.TriageMapper;
import com.example.firstboot.service.TriageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TriageServiceImpl implements TriageService {

    @Autowired
    private TriageMapper triageMapper;

    @Override
    public int addTriage(String username, String idnumber, String phone, String temperature, String travel_history, String contact_history, String job, String symptom, String nucleic_acid, String date) {
        return triageMapper.addTriage(username,idnumber,phone,temperature,travel_history,contact_history,job,symptom,nucleic_acid,date);
    }

    @Override
    public int addTriageCheck(String account, String checkId) {
        return triageMapper.addTriageCheck(account,checkId);
    }
}
